package com.gxa.service;

import com.gxa.common.base.LayuiResultJson;
import com.gxa.common.base.Result;
import com.gxa.domain.entity.Coach;

import java.util.List;

public interface CoachService {
    Result selectAllUsersById(Integer id);

    Result updateCoach(Coach coach);

    Result deleteCoachById(Integer id);

    Result insertCoach(Coach coach);


    List<Coach> getCoachList();

    List<Coach> getoachListByPage(int pageNum, int pageSize);

    int countCoachs();


    LayuiResultJson findCoachByName(String title, int page, int limit);

    Result update(Coach coach);
}
